﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DongFangGuoKai.WMSPlatform.Core.Migrations
{
    public partial class M5 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Code",
                table: "t_StackingStorage",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "RelatedOrderDetailCode",
                table: "t_Instruct",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "StackingStorageCode",
                table: "t_Instruct",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Code",
                table: "t_StackingStorage");

            migrationBuilder.DropColumn(
                name: "RelatedOrderDetailCode",
                table: "t_Instruct");

            migrationBuilder.DropColumn(
                name: "StackingStorageCode",
                table: "t_Instruct");
        }
    }
}
